
  var char = "A";
  var width = 10;
  var height = 10;
  for (let i =0; i<height ;i++){
    let result = "";
    for(let j = width-1; j>i; j--){
      result += char;
    }
    console.log(result);
  }
